﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Registration.ascx.cs" Inherits="_5ChickDeal.UserControl.Registration" %>


<%@ Register assembly="System.Web.DynamicData, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.DynamicData" tagprefix="cc1" %>


<table width="80%" cellpadding="10" cellspacing="10">
<tr>
<td>Email </td>
<td><asp:TextBox CssClass="textbox" ID="TextBoxEmail" runat="server"></asp:TextBox>
<span id="imgemail"></span>
<br /><span id="erroremail" class="Err"></span>

</td>
</tr>

<tr>
<td>Mật khẩu</td>
<td><asp:TextBox CssClass="textbox" ID="TextBoxPassword" runat="server" 
        TextMode="Password"></asp:TextBox>
        
        <br />
        
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
        runat="server" ErrorMessage="Mật khẩu ít nhất 6 ký tự" 
        ControlToValidate="TextBoxPassword" 
        ValidationExpression=".{6,}" 
        SetFocusOnError="True"></asp:RegularExpressionValidator>
        <br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="TextBoxPassword" Display="Dynamic" 
        ErrorMessage="Mật khẩu không để trống"></asp:RequiredFieldValidator>
        </td>
</tr>

<tr>
<td>Nhập lại mật khẩu</td>
<td><asp:TextBox CssClass="textbox" ID="TextBoxPasswordConfirm" runat="server" 
        TextMode="Password">
        </asp:TextBox>
        
        <br />
        
         <asp:CompareValidator ID="CompareValidator1" runat="server" 
        ControlToCompare="TextBoxPassword" ControlToValidate="TextBoxPasswordConfirm" 
        ErrorMessage="Mật khẩu không khớp"></asp:CompareValidator>
        
        
        </td>
</tr>


<tr>
<td>Họ tên của bạn </td>
<td><asp:TextBox CssClass="textbox" ID="TextBoxHoTen" runat="server"></asp:TextBox>
<br />
   
    </td>
</tr>


<tr>
<td>Số điện thoại </td>
<td><asp:TextBox CssClass="textbox" ID="TextBoxDienThoai" runat="server"></asp:TextBox></td>
</tr>



<tr>
<td> </td>
<td>
        <br />
        <br />
    </td>
</tr>



<tr>
    <td>
    </td>
    <td align="center">
    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="Bt">
    <span>
    <strong>Tạo tài khoản</strong></span>
    
    </asp:LinkButton>
    </td></tr>
</table>




<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
    ControlToValidate="TextBoxEmail" 
    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>





